package com.wanxi.dao;

import com.wanxi.model.Product;

import java.util.List;

public interface ProductDao {
    List<Product> findAllProduct();

    Product findProductById(Product product);

    int updateEnable(Product product);

    int addProduct(Product product);

    int deleteProduct(Product product);

    int updateProduct(Product product);

    List<Product> findProduct(Product product);

    List<Product> findProductBySome(Product product);
}
